package com.wmyg.antifake.service;

import com.wmyg.antifake.entity.BkUser;
import org.springframework.data.domain.Page;

public interface BkUserService {

    BkUser findByPhone(String phone);

    Boolean signUp(BkUser user);

    BkUser findByUsername(String username);

    Boolean changePassword(String password, String username);

    Boolean changePassword(String password, String username, String phone);

    Page<BkUser> getAuditUserPage(Integer index);

    Page<BkUser> getPassUserPage(Integer index);

    Boolean  allowAudit(Integer userId,Integer pass);

}
